package com.foreknow.elm.controller;

import com.foreknow.elm.service.FoodService;
import com.foreknow.elm.service.impl.FoodServiceImpl;

import javax.servlet.http.HttpServletRequest;

/**
 * @author 啊滨
 * @date 2023/2/14 14:01
 */
public class FoodController {
    public Object listFoodByBusinessId(HttpServletRequest request){
        int businessId = Integer.parseInt(request.getParameter("businessId"));
        FoodService service=new FoodServiceImpl();
        return service.listFoodByBusinessId(businessId);
    }
}
